package com.ssm.service;


import com.ssm.pojo.address.Address;
import com.ssm.pojo.address.AddressDeleteOrDefualtResponseParameter;
import com.ssm.pojo.address.AddressList;
import com.ssm.pojo.address.AddressRequestParameter;
import com.ssm.pojo.address.AddressResponseParameter;

public interface AddressService {
	AddressList list(int userId);
	AddressDeleteOrDefualtResponseParameter delete(AddressRequestParameter id);
	AddressResponseParameter add(Address address);
	Address get(int id);
	AddressResponseParameter update(Address address);
	AddressDeleteOrDefualtResponseParameter defaultAddr(AddressRequestParameter id);
}
